<?php
/**
 * Created by PhpStorm.
 * User: jungshen
 * Date: 2018/8/6
 * Time: 15:47
 */

namespace app\api\validate;


use think\Validate;

class Report extends Validate
{
    protected $rule = [
        'desc|举报原因'  =>  'require|min:5|max:1000',
        'voucher|凭证' =>  'require',
        'name|姓名'  =>  'require|max:30',
        'phone|手机号' =>  'require|mobile'
    ];
}